﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml;

namespace WebApp.cn
{
    public partial class exchange : BasePage
    {
        protected string basicSetXmlPath = "/cn/xml/website_set.xml";
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected string TitleBind()
        {
            string attribute = "";
            try
            {
                XmlDocument document = new XmlDocument();
                document.Load(base.Server.MapPath(this.basicSetXmlPath));
                attribute = ((XmlElement)document.SelectSingleNode("set/cn_title")).GetAttribute("value");
            }
            catch
            {
            }
            return attribute;
        }
    }
}